<template>
  <div id="app">
    <div>
      <!-- <button @click="get">发送AJAX</button> -->
    </div>
    <keep-alive :include="['layout']">
      <router-view />
    </keep-alive>
  </div>
</template>

<script>


import { getChannels } from '@/api/channel'
export default {
  methods: {
    async get () {
      try {
        const res = await getChannels()
        console.log(res)
      } catch (err) {
        console.log(err)
      }
    }

  }
}
</script>

